package collections.g4;

public class Kunde implements Comparable<Kunde> {

	private long id;

	public Kunde(long id) {
		this.id = id;
	}

	@Override
	public int compareTo(Kunde o) {
		return (int) (this.id - o.id);
	}

	@Override
	public String toString() {
		return "Kunde ID: " + id;
	}
}
